<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>user</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="user.css">
    <script src="user.js"></script>
</head>

<body>
    <div class="series">
        <!-- 面包屑 -->
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item active"><a href="#">用户列表 </a></li>
            </ol>
        </nav>
    </div>
    <!-- 内容 -->
    <div class="contents">
        <!-- 搜索栏 -->
        <div class="search">
            <div class="check">
                <form class="bs-example bs-example-form" role="form">
                    <form class="bs-example bs-example-form" role="form">
                        <div class="input-group">
                            <span class="input-group-addon">ID</span>
                            <input type="text" class="form-control" placeholder="id">
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">手机号</span>
                            <input type="text" class="form-control" placeholder="phone">
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">用户名</span>
                            <input type="text" class="form-control" placeholder="id">
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">账号启用状态</span>
                            <select name="dealer_id" id="dealer_id" class="selectpicker show-tick form-control" data-width="98%" data-first-option="false"
                                title='广告图片导航类型' required data-live-search="true">
                                <option value="${dealer.id?c}">启用</option>
                                <option value="${dealer.id?c}">禁用</option>
                            </select>
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">注册起始日期</span>
                            <input type="date" class="form-control" name="user_date" />
                        </div>
                        <div class="input-group">
                            <span class="input-group-addon">注册结束日期</span>
                            <input type="date" class="form-control" name="user_date" />
                        </div>



                        <!-- 新增 -->
                        <button type="button" class="btn btn-warning btn-sm">
                            搜索 <span class="glyphicon glyphicon-search"></span>
                        </button>
                    </form>
            </div>
            <table class="table table-bordered table-hover">
                <thead>
                    <tr>
                        <th scope="col">ID</th>
                        <th scope="col">姓名</th>
                        <th scope="col">手机号</th>
                        <th scope="col">注册时间</th>
                        <th scope="col">账号启用状态</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row">1108</th>
                        <td>13597325071</td>
                        <td>13597325071</td>
                        <td>2018-02-26 19:35:24</td>
                        <td><img src="../../../images/success.png" alt="52嗨停" id="img" data-toggle="modal" data-target="#myModal"></td>
                    </tr>
                    <tr>
                        <th scope="row">1108</th>
                        <td>13597325071</td>
                        <td>13597325071</td>
                        <td>2018-02-26 19:35:24</td>
                        <td><img src="../../../images/success.png" alt="52嗨停" id="img" data-toggle="modal" data-target="#myModal"></td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <div class="paging">
                <nav aria-label="paging">
                    <ul class="pagination">
                        <!-- 显示总页数 -->
                        <li class="page-item">
                            <span class="page-link"><a href="#">总共多少</a></span>
                        </li>
                        <li class="page-item">
                            <!-- 当时第一页的时候显示首页，第二页开始显示上一页 -->
                            <span class="page-link"><a href="#">首页</a></span>
                        </li>
                        <li class="page-item">
                            <!-- 当时第一页的时候显示首页，第二页开始显示上一页 -->
                            <span class="page-link"><a href="#">上一页</a></span>
                        </li>
                        <li class="page-item"><a class="page-link" href="#">1</a></li>
                        <li class="page-item active">
                            <span class="page-link">
                                2
                                <span class="sr-only">(current)</span>
                            </span>
                        </li>
                        <li class="page-item"><a class="page-link" href="#">3</a></li>
                        <li class="page-item">
                            <a class="page-link" href="#">下一页</a>
                        </li>
                        <!-- 末页 -->
                        <li class="page-item">
                            <a class="page-link" href="#">末页</a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
          <!-- 模态框 -->
        <!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        admin.52carlife.com显示
                    </h4>
                </div>
                <div class="modal-body">
                    <span id="modal-input">确认停用</span>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" class="btn btn-primary" onclick="changeStata()">
                        提交更改
                    </button>
                </div>
            </div>
        </div>
    </div>
</body>

</html>